package com.aggregate.pay.sanstar.bean;

import java.math.BigDecimal;
import java.util.Date;

import com.aggregate.pay.sanstar.enums.PayStatus;
import com.aggregate.pay.sanstar.enums.PayType;

/**
 * 支付订单信息
 * @author Moyq5
 * @date 2022年11月16日
 */
public class PayOrder {
    
    /**
     * 支付单号
     */
    private String payNo;
    /**
     * 渠道类型
     */
    private PayType payType;
    /**
     * 支付状态
     */
    private PayStatus payStatus;
    /**
     * 支付状态描述
     */
    private String payDescr;
    /**
     * 交易金额，元
     */
    private BigDecimal callAmount;
    /**
     * 实付金额，元
     */
    private BigDecimal payAmount;
    /**
     * 已退款金额，元
     */
    private BigDecimal backAmount;
    /**
     * 渠道信息（单号）
     */
    private Upper upper;
    /**
     * 支付状态更新时间
     */
    private Date payTime;
    /**
     * 交易时间（添加时间）
     */
    private Date addTime;
    
    public String getPayNo() {
        return payNo;
    }
    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }
    public PayType getPayType() {
        return payType;
    }
    public void setPayType(PayType payType) {
        this.payType = payType;
    }
    public PayStatus getPayStatus() {
        return payStatus;
    }
    public void setPayStatus(PayStatus payStatus) {
        this.payStatus = payStatus;
    }
    public String getPayDescr() {
        return payDescr;
    }
    public void setPayDescr(String payDescr) {
        this.payDescr = payDescr;
    }
    public BigDecimal getCallAmount() {
        return callAmount;
    }
    public void setCallAmount(BigDecimal callAmount) {
        this.callAmount = callAmount;
    }
    public BigDecimal getPayAmount() {
        return payAmount;
    }
    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }
    public BigDecimal getBackAmount() {
        return backAmount;
    }
    public void setBackAmount(BigDecimal backAmount) {
        this.backAmount = backAmount;
    }
    public Upper getUpper() {
        return upper;
    }
    public void setUpper(Upper upper) {
        this.upper = upper;
    }
    public Date getPayTime() {
        return payTime;
    }
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
    public Date getAddTime() {
        return addTime;
    }
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
    
}